notebook: Include arrow size in tab size computation
authorBenjamin Otte <otte@redhat.com>
Wed, 1 Jun 2011 15:45:14 +0000 (17:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 1 Jun 2011 15:46:22 +0000 (17:46 +0200)
commit975f735fb779ef87416d7f64d1149c0ce0c521a2
treefa84037af6a26e3151e8ca48025dd51ea96e1fff
parent2108e4230689ce78177a974b2d1ee5072110571d
notebook: Include arrow size in tab size computation

We don't want tabs to resize when a 2nd page is added, just because the
scroll arrows are now visible. And we do want the arrow size to be
included.

Note: Previosuly this code was never run, as the check
  requisition->width < tab_width
was only run when tab_width wasn't computed, so was still equal to 0
(same for the height). So what this patch essentially does it add the
functionality of the if switch.
gtk/gtknotebook.c